import request from '@/helper/request'

export function blogList (data) {
  return request({
    url: 'blog/list',
    method: 'post',
    data,
    showMesIfError: true
  })
}

export function blogDetail (data) {
  return request({
    url: 'blog/detail',
    method: 'post',
    data,
    showMesIfError: true
  })
}

export function blogSave (data) {
  return request({
    url: 'blog/save',
    method: 'post',
    data,
    showMesIfError: true
  })
}

export function blogDel (data) {
  return request({
    url: 'blog/del',
    method: 'post',
    data,
    showMesIfError: true
  })
}
